package com.wanmait.recruitment.mapper;

import com.wanmait.recruitment.pojo.CompanyTag;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface CompanyTagMapper {
    //index02添加公司标签
    void inset(@Param("companyId") int companyId,@Param("idList") List<Integer> idList);
    int deleteByPrimaryKey(Integer id);
    List<CompanyTag> select();
    int insert(CompanyTag record);

    int insertSelective(CompanyTag record);

    CompanyTag selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CompanyTag record);

    int updateByPrimaryKey(CompanyTag record);
    //根据公司 查询标签
    List<CompanyTag> selectById(Integer id);
    List<CompanyTag>selectByIdTop3(Integer id);
    void update(CompanyTag companyTag);
}